package com.lkhhd.activity;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;

import tk.mybatis.spring.annotation.MapperScan;

@MapperScan(basePackages = "com.lkhd.manage.mapper")
//@EnableDubbo					//开启dubbo
@EnableTransactionManagement	//开启事务
@SpringBootApplication			
public class Application {

	public static void main(String[] args) {
		ConfigurableApplicationContext run = new SpringApplicationBuilder(Application.class)
//        .web(WebApplicationType.NONE) // 非 Web 应用
        .run(args);
		
	}

}
